package com.vsd.repository;


import java.util.Collection;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;

import com.vsd.domain.StoreTable;

@RestResource(exported = false)
public interface StoreTableRepository extends CrudRepository<StoreTable, String> {
	
	Collection<StoreTable> findByStoreId(String storeId,Sort sort);
	
	Page<StoreTable> findByStoreId(String storeId,Pageable p);
	
}
